package model;

import util.Magazine;

public class TankModel extends Model {
    private Magazine magazine; // 弹仓

    public TankModel(int camp, int id) {
        super(camp, id);
        this.magazine = new Magazine();
        speed = getSpeedById(dbid);
        blood = getBloodById(dbid);
    }
    
    private int getBloodById(int dbid) {
        return 100;
    }

    private int getSpeedById(int dbid) {
        return 5;
    }

    public String getBullet() {
        return magazine.push();
    }
}
